﻿<%@ Page Language="C#" MasterPageFile="~/FrameMasterPage.master" AutoEventWireup="true" CodeFile="OwnEdit.aspx.cs" Inherits="OwnEdit" Title="Untitled Page" %>
<%@ Register Assembly="EclipseWebSolutions.DatePicker" Namespace="EclipseWebSolutions.DatePicker"
    TagPrefix="ews" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc2" %>
    
<asp:Content ID="Content1" ContentPlaceHolderID="m_contentBody" Runat="Server">




<asp:Panel runat="server" ID="pnlBody">
<body>

 
   <table cellspacing="2" cellpadding ="2" style="height:100%" class="GridItem" >
        <br />
        <tr>
            <td><strong> Edit ownership </strong> </td>  
        </tr>
       <tr>
         <td style="height: 28px"><asp:Label ID="Label8" runat="server" Text="Employee:  "></asp:Label></td>
         <td style="height: 28px">
             <asp:DropDownList ID="dlEmployee" runat="server"  Width="200px" 
                 AppendDataBoundItems="True" EnableTheming="False" DataTextField="EmployeeName" 
                 DataValueField="EmployeeId" DataSourceID="dsEmployee" >
             <asp:ListItem Value="-1">--Choose Employee--</asp:ListItem>
         </asp:DropDownList>
             
              <asp:ObjectDataSource runat="server" 
                 SelectMethod="GetEmployees" TypeName="Service.ReferenceDataService" 
                 
                 ID="dsEmployee" OldValuesParameterFormatString="original_{0}">
             </asp:ObjectDataSource>
             
         </td>
      </tr>
      
       <tr>
         <td style="height: 28px"><asp:Label ID="Label4" runat="server" Text="Building:  "></asp:Label></td>
         <td style="height: 28px">
             <asp:DropDownList ID="dlBuilding" runat="server"  Width="200px" 
                 AppendDataBoundItems="True" EnableTheming="False" 
                 DataSourceID="dsBuilding" DataTextField="BuildingLabel" 
                 DataValueField="BUILDINGID" >
             <asp:ListItem Value="-1">--Choose Building--</asp:ListItem>
         </asp:DropDownList>
           <asp:ObjectDataSource ID="dsBuilding" runat="server" 
                 SelectMethod="GetBuildings" TypeName="Service.ReferenceDataService" 
                 >
             </asp:ObjectDataSource>
             
         </td>
      </tr>
      
      <tr>
         <td style="height: 28px"><asp:Label ID="Label5" runat="server" Text="Location:  "></asp:Label></td>
         <td style="height: 28px">
             <asp:DropDownList ID="dlLocation" runat="server"  Width="200px" 
                 AppendDataBoundItems="True" EnableTheming="False" 
                 DataSourceID="dsLocation" DataTextField="LocationLabel" 
                 DataValueField="LOCATIONID" >
             <asp:ListItem Value="-1">--Choose Location--</asp:ListItem>
         </asp:DropDownList>
             
             <asp:ObjectDataSource ID="dsLocation" runat="server" 
                 SelectMethod="GetLocations" TypeName="Service.ReferenceDataService">
             </asp:ObjectDataSource>
             
             </td>
      </tr>
      
      
      <tr>
         <td style="height: 28px"><asp:Label ID="Label" runat="server" Text="Department: "></asp:Label></td>
         <td style="height: 28px">
         <asp:Label  ID="lblDepartment" runat="server"  >
         </asp:Label>
         </td>
      </tr>
      <tr>
         <td style="height: 28px"><asp:Label ID="Label2" runat="server" Text="Date Enter:  "></asp:Label></td>
       
         <td>
        <%-- <asp:UpdatePanel ID="UpdatePanel4" runat="server" UpdateMode="Conditional">
                                        <ContentTemplate>
                                            <ews:DatePicker ID="txtDateEnter" runat="server" DateFormatString="MM/dd/yyyy"  
                                                 />    
                                        </ContentTemplate>
          </asp:UpdatePanel>--%>
          
            <asp:TextBox ID="txtDateEnter" runat="server" Width="76px"></asp:TextBox>
            <asp:Image ID="imgCalendar" runat="server" ImageUrl="~/images/calendar.png" />
            <cc2:CalendarExtender ID="CalendarExtender3" runat="server" TargetControlID="txtDateEnter" PopupButtonID="imgCalendar">
            </cc2:CalendarExtender> 
          
          
         </td>
  
      </tr>
      
       <tr>
         <td style="height: 28px"><asp:Label ID="Label1" runat="server" Text="Code Equipment:  "></asp:Label></td>
         <td style="height: 28px">
            <%-- <asp:Label ID="lblCodeEquipment"  runat="server" ></asp:Label>--%>
             <asp:DropDownList ID="dlCodeEquipment" runat="server"  Width="200px" >
             </asp:DropDownList>
            
         </td>
      </tr>
       <tr>
         <td style="height: 28px"><asp:Label ID="Label3" runat="server" Text="Type equipment: "></asp:Label></td>
         <td style="height: 28px">
         <asp:Label  ID="lblTypeequipment" runat="server"  >
         </asp:Label>
         </td>
      </tr>
      
      <tr>
         <td style="height: 28px"><asp:Label ID="Label6" runat="server" Text="Model: "></asp:Label></td>
         <td style="height: 28px">
         <asp:Label  ID="lblModel" runat="server"  >
         </asp:Label>
         </td>
      </tr>
      
      <tr>
         <td style="height: 28px"><asp:Label ID="Label7" runat="server" Text="System: "></asp:Label></td>
         <td style="height: 28px">
         <asp:Label  ID="lblSystem" runat="server"  >
         </asp:Label>
         </td>
      </tr>
      
     
      <tr>
          <td></td>
          <td style="text-align:right"> <asp:Button CssClass="btnexpress" 
                  BorderStyle="Dotted" ID="bntValidate" 
                     runat="server" Text="Validate" onclick="bntValidate_Click" /> &nbsp; <asp:Label ID="lblPermission" runat="server" CssClass="permissionstyle"></asp:Label>
           <%--<asp:Button CssClass="btnexpress" BorderStyle="Dotted" ID="bntCancel" 
                     runat="server" Text="Cancel" />--%>
                  <%--   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--%>
            </td>
      </tr>  
  </table>

</body>
</asp:Panel>

</asp:Content>

